<?php

use think\Env;

return [
    'school_url'     => Env::get('zhxy.school_url', 'https://e.qau.edu.cn'),
    // 是否开启
    "isopen"        => Env::get('zhxy.isopen', false),
    // 是否发送
    'issend'        => Env::get('zhxy.issend', true),
    // 是否测试
    "debug"         => Env::get('zhxy.debug', false),


    'get_token'     => '/open/token/get',
    'push-apps'     => '/open/apps-push/push-apps',
    'push-task-log' => '/open/apps-push/push-task-log',
    'push-task'     => '/open/apps-push/push-task',
    'delete-task'   => '/open/apps-push/delete-third-task',
    
    //校友入校
    'friend_appid'         => Env::get('zhxy.friend_appid', 'MBpK15e'),
    'friend_appsecret'     => Env::get('zhxy.friend_appsecret', 'uVcW4QN'),
    'friend_thirdparty_id' => Env::get('zhxy.friend_thirdparty_id', '16'),
    // end 


    //校外人员
    'outside_appid'         => Env::get('zhxy.outside_appid', 'N2noElR'),
    'outside_appsecret'     => Env::get('zhxy.outside_appsecret', 'vfTmg3H'),
    'outside_thirdparty_id' => Env::get('zhxy.outside_thirdparty_id', '15'),
    // end


    'wid'           => 10,


    // 校外
    'appid_out'     => Env::get('zhxy.appid', '200230605150640726'),
    'appsecret_out' => Env::get('zhxy.appsecret', 'bo3lr99cw8ep1re34khyu1f0wvv751sq'),

    //登录有效期 秒数 2小时
    'expires_in'    => Env::get('zhxy.expires_in', 3600),

    // 企业微信授权地址
    'wx_work_url'   => '/uc/api/oauth/index',


];

